const customerService = require('../../service/o2o_client/customer.service.info.js');
const winston = require('../../utils/winstonLogger.js');

module.exports = {
    login : login,
    register : register,
    updateInfo : updateInfo,
    findCustomerById : findCustomerById
}

function login(req,res,next){
    console.log('login...');
    customerService.login(req,res,next);
}


function register(req,res,next){
    console.log('register....');
    customerService.register(req,res,next);
}

function updateInfo(req,res,next){
    console.log('updatedInfo...');
    customerService.updateInfo(req,res,next);
}

function findCustomerById(req,res,next){
    console.log('findCustomerById...');
    customerService.findCustomerById(req,res,next);
}